<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GripType extends Model
{
    use SoftDeletes;

    protected $table = 'grip_type';
    protected $fillable = [
        'type_name'
    ];

    //获取格子类型信息
    public static function getSelectOptions()
    {
        $options = self::pluck('type_name','id');
        return $options;
    }



}
